package com.yl.chainStore.services

import com.alibaba.fastjson.JSONObject
import com.yl.chainStore.entity.warehouse.TechnologyProcessing
import com.yl.chainStore.entity.warehouse.TechnologyProcessingDetail
import com.yl.common.control.ResponseBody

/**
 * @description :技加工处理
 * @author :吴枫
 * @create :2021-06-22 10:35:00
 */
interface ITechnologyProcessingService {

    /**
     * 删除技加工记录
     */
    fun processDelete(id: Long): ResponseBody

    /**
     * 修改技加工记录
     */
    fun processUpdate(process: TechnologyProcessing): ResponseBody

    /**
     * 修改技加工订单状态
     */
    fun processStatusUpdate(data: JSONObject): ResponseBody

    /**
     * 根据id查看技加工详情
     */
    fun processDetail(id: Long): List<TechnologyProcessingDetail>


}
